GtkEventController: Add some comment describing the filter_event private vfunc
authorCarlos Garnacho <carlosg@gnome.org>
Tue, 23 Aug 2016 18:31:29 +0000 (20:31 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Tue, 23 Aug 2016 19:01:45 +0000 (21:01 +0200)
It might not be entirely clear what the boolean return value means.

https://bugzilla.gnome.org/show_bug.cgi?id=770026

gtk/gtkeventcontrollerprivate.h

index 2f66ecccbc6d5b9154bc14e690fa4fdd74d310c4..f84719846a22fb19d12606dfac426503d54b2391 100644 (file)
@@ -37,6 +37,9 @@ struct _GtkEventControllerClass
 
   /*<private>*/
 
+  /* Tells whether the event is filtered out, %TRUE makes
+   * the event unseen by the handle_event vfunc.
+   */
   gboolean (* filter_event) (GtkEventController *controller,
                              const GdkEvent     *event);
   gpointer padding[10];